| 1. | This is essential for ambiguous grammars such as used for human languages.
|
| 2. | See ambiguous grammar # Recognizing ambiguous grammars.
|
| 3. | See ambiguous grammar # Recognizing ambiguous grammars.
|
| 4. | LR parsing is not a useful technique for human languages with ambiguous grammars that depend on the interplay of words.
|
| 5. | A recognition algorithm that accommodates ambiguous grammars with direct left-recursive rules is described by Frost and Hafiz in 2006.
|
| 6. | :: : The solution where there is an ambiguous grammar problem is to rewrite the text to remove the ambiguity.
|
| 7. | Ambiguous grammar may result in ambiguous parsing if applied on homographs since the same word sequence can have more than one interpretation.
|
| 8. | Note that there may be multiple distinct ways to parse a string while finishing at the same index : this indicates an ambiguous grammar.
|
| 9. | The LL ( " k " ) grammars therefore exclude all ambiguous grammars, as well as all grammars that contain left recursion.
|
| 10. | However, there are certain languages that can only be generated by ambiguous grammars; such languages are called " inherently ambiguous languages ".
|